package learning.xml.jaxb;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlRootElement(name = "MusicalStyle")
// If you want you can define the order in which the fields are written
// Optional
@XmlType(propOrder = { "name", "count", "notes", "volume", "duration"})
public class MusicalStyle {

	private String name;
	private int[] notes;
	private int[] volume;
	private int[] duration;
	private int count;

	@XmlElement(name = "musicianName")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public int[] getNotes() {
		return notes;
	}
	
	public void setNotes(int[] notes) {
		this.notes = notes;
	}
	
	public int[] getVolume() {
		return volume;
	}
	
	public void setVolume(int[] volume) {
		this.volume = volume;
	}

	
	public int[] getDuration() {
		return duration;
	}

	public void setDuration(int[] duration) {
		this.duration = duration;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}
}

			